<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>栏目显示页面</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <css file="__PUBLIC__/css/base.css"/>
	<jsconst />
</head>
<body style="padding:10px;">
    <div class="now_path">
        <strong>您现在的位置：</strong>
        <a href="#">城市管理</a>
    </div>
    <div class="send1">
        <a href="__CONTROL__/add_show" target="con" class="current button1">添加房屋</a>
    </div>
	<form action='__CONTROL__/piliang' method='post'>
    <table class="table1">
        <thead>
            <tr>
            	<td width="30">房屋ID</td>
                <td width="50">城市ID</td>
				<td width='80'>小区ID</td>
                <td width='300'>城市名</td>
				<td width='60'>状态</td>
                <td width="150">操作</td>
            </tr>
        </thead>
        <tbody>
        <tr style='background:#F0F0F0;'>
		<foreach from='$houses' value='$v'>
			<tr>
				<td width='30'>{$v.id}</td>	
	            <td width="50">{$v.cid}({$v.cname})</td>
				<td width='80'>{$v.qid}({$v.qname})</td>
	    		<td width="160">{$v.title}</td>
				<td width='60'>
					<if value='$v.status eq 1'>
						审核 <a href='__CONTROL__/status/hid/{$v.id}/set/0' id='status'>未审核</a>
					<else />
						未审核<a href="__CONTROL__/status/hid/{$v.id}/set/1" id='status'>审核</a>
					</if>
				</td>
	    		<td width="150" style="font-size:12px;">
		        	<a href="__CONTROL__/modify_show/cid/{$v.cid}/hid/{$v.id}">修改</a> | 
		        	<a href="__CONTROL__/del/cid/{$v.cid}">删除</a>
	    		</td>
			</tr>
		</foreach>
	</tbody>  
	</table>
	<input type='submit' value='批量修改' class='button4'/>
	</form>
	<div class="page r" style="margin-top:10px;">{$page}</div>
</body>
</html>
